package com.yx.gsyd.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 定时配置
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "mytask")
@Component
public class TaskResource {

    /**
     * 是否执行1.不执行，0执行
     */
    private Integer isStart;

    /**
     * 查询的数量
     */
    private Integer searchCount;

}
